import { defineStore } from "pinia";

interface ScreenState {
  title: string;
  theme: "dark" | "light";
}

export const useScreenStore = defineStore("screen", {
  state: (): ScreenState => {
    return {
      title: "霍永平的大屏可视化",
      theme: "dark",
    };
  },
});
